package com.jbp.model;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 手气榜(LuckRank)实体
 * @author cc
 * @since 2021-07-20 19:57:48
 */
@ApiModel(value="LuckRank")
@Data
public class LuckRank implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id
    @ApiModelProperty(value="用户id")    
    
    private Integer userId;

    //房间id
    @ApiModelProperty(value="房间id")    
    
    private Integer roomId;

    //奖池类型
    @ApiModelProperty(value="奖池类型")    
    
    private String poolType;

    //抽奖次数
    @ApiModelProperty(value="抽奖次数")    
    
    private Integer times;

    //最大礼物价值
    @ApiModelProperty(value="最大礼物价值")    
    
    private Integer giftPrice;

    //最大礼物图片
    @ApiModelProperty(value="最大礼物图片")    
    
    private String giftImg;

    //礼物名称
    @ApiModelProperty(value="礼物名称")    
    
    private String giftName;

        
    
    private Integer lotteryRecordId;

        
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    @TableField(exist = false)
    private int giftNum;
    @TableField(exist = false)
    private Integer userLevel;
    @TableField(exist = false)
    private boolean userLevelOn;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String userImg;
    @TableField(exist = false)
    private String sex;
}